﻿
 
using System;
using System.ComponentModel;
using RMS.DataAccess;
using RMS.DataAccess.Common;
using RMS.DataAccess.Entities;

namespace RMS.DataAccess.Entities
{
		
	#region [Contracts]
 	public class Contracts:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public Contracts()
 		{
 
 		}
 			private System.Int32  _contractId; 
      	public System.Int32  ContractId 
        {
         	get
         	{
   				return this._contractId;
         	}
         	set
			{
           		this._contractId  = value;
				this.SendPropertyChanged("ContractId");
         	}
		 }
		private System.String  _companyName; 
      	public System.String  CompanyName 
        {
         	get
         	{
   				return this._companyName;
         	}
         	set
			{
           		this._companyName  = value;
				this.SendPropertyChanged("CompanyName");
         	}
		 }
		private System.DateTime  _contracrtDate; 
      	public System.DateTime  ContracrtDate 
        {
         	get
         	{
   				return this._contracrtDate;
         	}
         	set
			{
           		this._contracrtDate  = value;
				this.SendPropertyChanged("ContracrtDate");
         	}
		 }
		private System.DateTime  _fromDate; 
      	public System.DateTime  FromDate 
        {
         	get
         	{
   				return this._fromDate;
         	}
         	set
			{
           		this._fromDate  = value;
				this.SendPropertyChanged("FromDate");
         	}
		 }
		private System.DateTime  _toDate; 
      	public System.DateTime  ToDate 
        {
         	get
         	{
   				return this._toDate;
         	}
         	set
			{
           		this._toDate  = value;
				this.SendPropertyChanged("ToDate");
         	}
		 }
		private System.Int32  _maxLimit; 
      	public System.Int32  MaxLimit 
        {
         	get
         	{
   				return this._maxLimit;
         	}
         	set
			{
           		this._maxLimit  = value;
				this.SendPropertyChanged("MaxLimit");
         	}
		 }
		private System.Decimal  _precentage; 
      	public System.Decimal  Precentage 
        {
         	get
         	{
   				return this._precentage;
         	}
         	set
			{
           		this._precentage  = value;
				this.SendPropertyChanged("Precentage");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [PatientOrganes]
 	public class PatientOrganes:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public PatientOrganes()
 		{
 
 		}
 			private System.Int32  _pateintOrganesId; 
      	public System.Int32  PateintOrganesId 
        {
         	get
         	{
   				return this._pateintOrganesId;
         	}
         	set
			{
           		this._pateintOrganesId  = value;
				this.SendPropertyChanged("PateintOrganesId");
         	}
		 }
		private System.String  _organesName; 
      	public System.String  OrganesName 
        {
         	get
         	{
   				return this._organesName;
         	}
         	set
			{
           		this._organesName  = value;
				this.SendPropertyChanged("OrganesName");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [RadiologyDevice]
 	public class RadiologyDevice:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public RadiologyDevice()
 		{
 
 		}
 			private System.String  _deviceCode; 
      	public System.String  DeviceCode 
        {
         	get
         	{
   				return this._deviceCode;
         	}
         	set
			{
           		this._deviceCode  = value;
				this.SendPropertyChanged("DeviceCode");
         	}
		 }
		private System.String  _deviceName; 
      	public System.String  DeviceName 
        {
         	get
         	{
   				return this._deviceName;
         	}
         	set
			{
           		this._deviceName  = value;
				this.SendPropertyChanged("DeviceName");
         	}
		 }
		private System.String  _description; 
      	public System.String  Description 
        {
         	get
         	{
   				return this._description;
         	}
         	set
			{
           		this._description  = value;
				this.SendPropertyChanged("Description");
         	}
		 }
		private System.Int32  _dep_id; 
      	public System.Int32  Dep_id 
        {
         	get
         	{
   				return this._dep_id;
         	}
         	set
			{
           		this._dep_id  = value;
				this.SendPropertyChanged("Dep_id");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [RadiologyType]
 	public class RadiologyType:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public RadiologyType()
 		{
 
 		}
 			private System.String  _radiologyCode; 
      	public System.String  RadiologyCode 
        {
         	get
         	{
   				return this._radiologyCode;
         	}
         	set
			{
           		this._radiologyCode  = value;
				this.SendPropertyChanged("RadiologyCode");
         	}
		 }
		private System.String  _description; 
      	public System.String  Description 
        {
         	get
         	{
   				return this._description;
         	}
         	set
			{
           		this._description  = value;
				this.SendPropertyChanged("Description");
         	}
		 }
		private System.Decimal  _price; 
      	public System.Decimal  Price 
        {
         	get
         	{
   				return this._price;
         	}
         	set
			{
           		this._price  = value;
				this.SendPropertyChanged("Price");
         	}
		 }
		private System.Boolean  _patientGander; 
      	public System.Boolean  PatientGander 
        {
         	get
         	{
   				return this._patientGander;
         	}
         	set
			{
           		this._patientGander  = value;
				this.SendPropertyChanged("PatientGander");
         	}
		 }
		private System.Int32  _patientOrgansId; 
      	public System.Int32  PatientOrgansId 
        {
         	get
         	{
   				return this._patientOrgansId;
         	}
         	set
			{
           		this._patientOrgansId  = value;
				this.SendPropertyChanged("PatientOrgansId");
         	}
		 }
		private System.String  _deviceCode; 
      	public System.String  DeviceCode 
        {
         	get
         	{
   				return this._deviceCode;
         	}
         	set
			{
           		this._deviceCode  = value;
				this.SendPropertyChanged("DeviceCode");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [RadiologyRequest]
 	public class RadiologyRequest:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public RadiologyRequest()
 		{
 
 		}
 			private System.Int32  _requestId; 
      	public System.Int32  RequestId 
        {
         	get
         	{
   				return this._requestId;
         	}
         	set
			{
           		this._requestId  = value;
				this.SendPropertyChanged("RequestId");
         	}
		 }
		private System.DateTime  _requestDate; 
      	public System.DateTime  RequestDate 
        {
         	get
         	{
   				return this._requestDate;
         	}
         	set
			{
           		this._requestDate  = value;
				this.SendPropertyChanged("RequestDate");
         	}
		 }
		private System.DateTime  _reservationDate; 
      	public System.DateTime  ReservationDate 
        {
         	get
         	{
   				return this._reservationDate;
         	}
         	set
			{
           		this._reservationDate  = value;
				this.SendPropertyChanged("ReservationDate");
         	}
		 }
		private System.Decimal  _patientPay; 
      	public System.Decimal  PatientPay 
        {
         	get
         	{
   				return this._patientPay;
         	}
         	set
			{
           		this._patientPay  = value;
				this.SendPropertyChanged("PatientPay");
         	}
		 }
		private System.Int32  _payResetNum; 
      	public System.Int32  PayResetNum 
        {
         	get
         	{
   				return this._payResetNum;
         	}
         	set
			{
           		this._payResetNum  = value;
				this.SendPropertyChanged("PayResetNum");
         	}
		 }
		private System.Boolean  _patientSituation; 
      	public System.Boolean  PatientSituation 
        {
         	get
         	{
   				return this._patientSituation;
         	}
         	set
			{
           		this._patientSituation  = value;
				this.SendPropertyChanged("PatientSituation");
         	}
		 }
		private System.Boolean  _requestStatues; 
      	public System.Boolean  RequestStatues 
        {
         	get
         	{
   				return this._requestStatues;
         	}
         	set
			{
           		this._requestStatues  = value;
				this.SendPropertyChanged("RequestStatues");
         	}
		 }
		private System.String  _radiologyCode; 
      	public System.String  RadiologyCode 
        {
         	get
         	{
   				return this._radiologyCode;
         	}
         	set
			{
           		this._radiologyCode  = value;
				this.SendPropertyChanged("RadiologyCode");
         	}
		 }
		private System.Int32  _patientID; 
      	public System.Int32  PatientID 
        {
         	get
         	{
   				return this._patientID;
         	}
         	set
			{
           		this._patientID  = value;
				this.SendPropertyChanged("PatientID");
         	}
		 }
		private System.Int32  _receptionEmpID; 
      	public System.Int32  ReceptionEmpID 
        {
         	get
         	{
   				return this._receptionEmpID;
         	}
         	set
			{
           		this._receptionEmpID  = value;
				this.SendPropertyChanged("ReceptionEmpID");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [RadiologyImage]
 	public class RadiologyImage:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public RadiologyImage()
 		{
 
 		}
 			private System.Int32  _imageID; 
      	public System.Int32  ImageID 
        {
         	get
         	{
   				return this._imageID;
         	}
         	set
			{
           		this._imageID  = value;
				this.SendPropertyChanged("ImageID");
         	}
		 }
		private System.Int32  _requestId; 
      	public System.Int32  RequestId 
        {
         	get
         	{
   				return this._requestId;
         	}
         	set
			{
           		this._requestId  = value;
				this.SendPropertyChanged("RequestId");
         	}
		 }
		private System.String  _imagePath; 
      	public System.String  ImagePath 
        {
         	get
         	{
   				return this._imagePath;
         	}
         	set
			{
           		this._imagePath  = value;
				this.SendPropertyChanged("ImagePath");
         	}
		 }
		private System.DateTime  _imageDate; 
      	public System.DateTime  ImageDate 
        {
         	get
         	{
   				return this._imageDate;
         	}
         	set
			{
           		this._imageDate  = value;
				this.SendPropertyChanged("ImageDate");
         	}
		 }
		private System.Int32  _empID; 
      	public System.Int32  EmpID 
        {
         	get
         	{
   				return this._empID;
         	}
         	set
			{
           		this._empID  = value;
				this.SendPropertyChanged("EmpID");
         	}
		 }
		private System.Byte[]  _histogram; 
      	public System.Byte[]  Histogram 
        {
         	get
         	{
   				return this._histogram;
         	}
         	set
			{
           		this._histogram  = value;
				this.SendPropertyChanged("Histogram");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [TechnicianDevice]
 	public class TechnicianDevice:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public TechnicianDevice()
 		{
 
 		}
 			private System.Int32  _technicianID; 
      	public System.Int32  TechnicianID 
        {
         	get
         	{
   				return this._technicianID;
         	}
         	set
			{
           		this._technicianID  = value;
				this.SendPropertyChanged("TechnicianID");
         	}
		 }
		private System.String  _deviceCode; 
      	public System.String  DeviceCode 
        {
         	get
         	{
   				return this._deviceCode;
         	}
         	set
			{
           		this._deviceCode  = value;
				this.SendPropertyChanged("DeviceCode");
         	}
		 }
		private System.DateTime  _stratWorkingDate; 
      	public System.DateTime  StratWorkingDate 
        {
         	get
         	{
   				return this._stratWorkingDate;
         	}
         	set
			{
           		this._stratWorkingDate  = value;
				this.SendPropertyChanged("StratWorkingDate");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [Roles]
 	public class Roles:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public Roles()
 		{
 
 		}
 			private System.Int32  _rolesID; 
      	public System.Int32  RolesID 
        {
         	get
         	{
   				return this._rolesID;
         	}
         	set
			{
           		this._rolesID  = value;
				this.SendPropertyChanged("RolesID");
         	}
		 }
		private System.Int32  _employeeID; 
      	public System.Int32  EmployeeID 
        {
         	get
         	{
   				return this._employeeID;
         	}
         	set
			{
           		this._employeeID  = value;
				this.SendPropertyChanged("EmployeeID");
         	}
		 }
		private System.String  _role; 
      	public System.String  Role 
        {
         	get
         	{
   				return this._role;
         	}
         	set
			{
           		this._role  = value;
				this.SendPropertyChanged("Role");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [RadiologyReport]
 	public class RadiologyReport:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public RadiologyReport()
 		{
 
 		}
 			private System.Int32  _reportID; 
      	public System.Int32  ReportID 
        {
         	get
         	{
   				return this._reportID;
         	}
         	set
			{
           		this._reportID  = value;
				this.SendPropertyChanged("ReportID");
         	}
		 }
		private System.DateTime  _reportDate; 
      	public System.DateTime  reportDate 
        {
         	get
         	{
   				return this._reportDate;
         	}
         	set
			{
           		this._reportDate  = value;
				this.SendPropertyChanged("reportDate");
         	}
		 }
		private System.String  _report; 
      	public System.String  report 
        {
         	get
         	{
   				return this._report;
         	}
         	set
			{
           		this._report  = value;
				this.SendPropertyChanged("report");
         	}
		 }
		private System.Int32  _requestID; 
      	public System.Int32  RequestID 
        {
         	get
         	{
   				return this._requestID;
         	}
         	set
			{
           		this._requestID  = value;
				this.SendPropertyChanged("RequestID");
         	}
		 }
		private System.Int32  _doctorID; 
      	public System.Int32  DoctorID 
        {
         	get
         	{
   				return this._doctorID;
         	}
         	set
			{
           		this._doctorID  = value;
				this.SendPropertyChanged("DoctorID");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [Departments]
 	public class Departments:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public Departments()
 		{
 
 		}
 			private System.Int32  _dep_id; 
      	public System.Int32  Dep_id 
        {
         	get
         	{
   				return this._dep_id;
         	}
         	set
			{
           		this._dep_id  = value;
				this.SendPropertyChanged("Dep_id");
         	}
		 }
		private System.String  _name; 
      	public System.String  Name 
        {
         	get
         	{
   				return this._name;
         	}
         	set
			{
           		this._name  = value;
				this.SendPropertyChanged("Name");
         	}
		 }
		private System.DateTime ? _mangerStartDate; 
      	public System.DateTime ? MangerStartDate 
        {
         	get
         	{
   				return this._mangerStartDate;
         	}
         	set
			{
           		this._mangerStartDate  = value;
				this.SendPropertyChanged("MangerStartDate");
         	}
		 }
		private System.Int32 ? _mangerID; 
      	public System.Int32 ? MangerID 
        {
         	get
         	{
   				return this._mangerID;
         	}
         	set
			{
           		this._mangerID  = value;
				this.SendPropertyChanged("MangerID");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [Employees]
 	public class Employees:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public Employees()
 		{
 
 		}
 			private System.Int32  _employee_id; 
      	public System.Int32  Employee_id 
        {
         	get
         	{
   				return this._employee_id;
         	}
         	set
			{
           		this._employee_id  = value;
				this.SendPropertyChanged("Employee_id");
         	}
		 }
		private System.String  _firstName; 
      	public System.String  FirstName 
        {
         	get
         	{
   				return this._firstName;
         	}
         	set
			{
           		this._firstName  = value;
				this.SendPropertyChanged("FirstName");
         	}
		 }
		private System.String  _mobile; 
      	public System.String  Mobile 
        {
         	get
         	{
   				return this._mobile;
         	}
         	set
			{
           		this._mobile  = value;
				this.SendPropertyChanged("Mobile");
         	}
		 }
		private System.String  _address; 
      	public System.String  Address 
        {
         	get
         	{
   				return this._address;
         	}
         	set
			{
           		this._address  = value;
				this.SendPropertyChanged("Address");
         	}
		 }
		private System.String  _email; 
      	public System.String  Email 
        {
         	get
         	{
   				return this._email;
         	}
         	set
			{
           		this._email  = value;
				this.SendPropertyChanged("Email");
         	}
		 }
		private System.Boolean  _gender; 
      	public System.Boolean  gender 
        {
         	get
         	{
   				return this._gender;
         	}
         	set
			{
           		this._gender  = value;
				this.SendPropertyChanged("gender");
         	}
		 }
		private System.String  _nameTitle; 
      	public System.String  NameTitle 
        {
         	get
         	{
   				return this._nameTitle;
         	}
         	set
			{
           		this._nameTitle  = value;
				this.SendPropertyChanged("NameTitle");
         	}
		 }
		private System.Int32  _dep_id; 
      	public System.Int32  Dep_id 
        {
         	get
         	{
   				return this._dep_id;
         	}
         	set
			{
           		this._dep_id  = value;
				this.SendPropertyChanged("Dep_id");
         	}
		 }
		private System.String  _username; 
      	public System.String  Username 
        {
         	get
         	{
   				return this._username;
         	}
         	set
			{
           		this._username  = value;
				this.SendPropertyChanged("Username");
         	}
		 }
		private System.Boolean  _isActive; 
      	public System.Boolean  IsActive 
        {
         	get
         	{
   				return this._isActive;
         	}
         	set
			{
           		this._isActive  = value;
				this.SendPropertyChanged("IsActive");
         	}
		 }
		private System.String  _password; 
      	public System.String  Password 
        {
         	get
         	{
   				return this._password;
         	}
         	set
			{
           		this._password  = value;
				this.SendPropertyChanged("Password");
         	}
		 }
		private System.String  _familyName; 
      	public System.String  FamilyName 
        {
         	get
         	{
   				return this._familyName;
         	}
         	set
			{
           		this._familyName  = value;
				this.SendPropertyChanged("FamilyName");
         	}
		 }
		private System.String  _phone; 
      	public System.String  Phone 
        {
         	get
         	{
   				return this._phone;
         	}
         	set
			{
           		this._phone  = value;
				this.SendPropertyChanged("Phone");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
	
	#region [Patients]
 	public class Patients:IEntity,INotifyPropertyChanged
 	{
 		public event PropertyChangedEventHandler PropertyChanged;

 		public Patients()
 		{
 
 		}
 			private System.Int32  _patientID; 
      	public System.Int32  PatientID 
        {
         	get
         	{
   				return this._patientID;
         	}
         	set
			{
           		this._patientID  = value;
				this.SendPropertyChanged("PatientID");
         	}
		 }
		private System.String  _firstName; 
      	public System.String  FirstName 
        {
         	get
         	{
   				return this._firstName;
         	}
         	set
			{
           		this._firstName  = value;
				this.SendPropertyChanged("FirstName");
         	}
		 }
		private System.Boolean  _gender; 
      	public System.Boolean  Gender 
        {
         	get
         	{
   				return this._gender;
         	}
         	set
			{
           		this._gender  = value;
				this.SendPropertyChanged("Gender");
         	}
		 }
		private System.DateTime  _birthday; 
      	public System.DateTime  Birthday 
        {
         	get
         	{
   				return this._birthday;
         	}
         	set
			{
           		this._birthday  = value;
				this.SendPropertyChanged("Birthday");
         	}
		 }
		private System.String  _nationality; 
      	public System.String  Nationality 
        {
         	get
         	{
   				return this._nationality;
         	}
         	set
			{
           		this._nationality  = value;
				this.SendPropertyChanged("Nationality");
         	}
		 }
		private System.String  _phone; 
      	public System.String  Phone 
        {
         	get
         	{
   				return this._phone;
         	}
         	set
			{
           		this._phone  = value;
				this.SendPropertyChanged("Phone");
         	}
		 }
		private System.String  _mobile; 
      	public System.String  Mobile 
        {
         	get
         	{
   				return this._mobile;
         	}
         	set
			{
           		this._mobile  = value;
				this.SendPropertyChanged("Mobile");
         	}
		 }
		private System.String  _address; 
      	public System.String  Address 
        {
         	get
         	{
   				return this._address;
         	}
         	set
			{
           		this._address  = value;
				this.SendPropertyChanged("Address");
         	}
		 }
		private System.Int32 ? _contractID; 
      	public System.Int32 ? ContractID 
        {
         	get
         	{
   				return this._contractID;
         	}
         	set
			{
           		this._contractID  = value;
				this.SendPropertyChanged("ContractID");
         	}
		 }
		private System.String  _familyName; 
      	public System.String  FamilyName 
        {
         	get
         	{
   				return this._familyName;
         	}
         	set
			{
           		this._familyName  = value;
				this.SendPropertyChanged("FamilyName");
         	}
		 }

		protected virtual void SendPropertyChanged(String propertyName)
        {
            if ((this.PropertyChanged != null))
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
		
		public INotifyPropertyChanged GetPropertyChanged()
        {
            return (INotifyPropertyChanged)this;
        }
	}
	#endregion
}
